import Vue from 'vue';
import app from './App.vue'
import VueRouter from 'vue-router'
Vue.use(VueRouter)


// mint ui
import { Header } from 'mint-ui' 
import 'mint-ui/lib/style.css'
import { Swipe, SwipeItem } from 'mint-ui'   // 轮播

//mui
import './lib/mui/css/mui.min.css'
import './lib/mui/css/icons-extra.css'
import './lib/mui/fonts/mui-icons-extra.ttf'
import './lib/mui/fonts/mui.ttf'

//导入vue-resource 使用ajax
import VueResource from 'vue-resource'
Vue.use(VueResource)

// 导入自己的router文件夹中index.js路由模块

import router from './router/index.js'


Vue.component(Header.name, Header);
Vue.component(Swipe.name, Swipe);
Vue.component(SwipeItem.name, SwipeItem);
var vm= new Vue({
  el:'#app',
  render:c=>c(app),
  router
})